Make the gif loader handle oom when loading animations. (#168857, Tommi
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Mar 2005 13:29:01 +0000 (13:29 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Mar 2005 13:29:01 +0000 (13:29 +0000)
commit1f6a65d3750dea9fdb0d8c49deb3af34fa735e44
tree55e028052f8e8574ab9b29f860e816f27ba05310
parentd74feca09e34efe3f89013512731e315d88fc813
Make the gif loader handle oom when loading animations. (#168857, Tommi

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

Make the gif loader handle oom when loading
animations.  (#168857, Tommi Komulainen)

* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite):
Handle oom by returning NULL.

* io-gif.c (gif_get_lzw): Return an error if composite
returns NULL.
gdk-pixbuf/ChangeLog
gdk-pixbuf/io-gif-animation.c
gdk-pixbuf/io-gif.c